from typing import Optional

import PySide6.QtCore
import PySide6.QtWidgets
from PySide6.QtCore import Qt
from PySide6.QtWidgets import QWidget

class DialogOACBase(QWidget):
    def __init__(
        self, 
        args: dict = dict(),
        parent: Optional[PySide6.QtWidgets.QWidget] = None, 
        f: PySide6.QtCore.Qt.WindowFlags = Qt.Widget) -> None:
        ####################################################
        super().__init__(parent=parent, f=f)

    def GetOk(self) -> 'dict':
        '''
        function:
            当按下OK按钮时调用的函数
        '''
        return dict()

    def GetApply(self) -> 'dict':
        '''
        function:
            当按下Apply按钮时调用的函数
        '''
        return dict()

    def GetCancel(self) -> 'dict':
        '''
        function:
            当按下Cancel按钮时调用的函数
        '''
        return dict()